import { ToastAPI } from '@/components/Toast';
import * as Clipboard from 'expo-clipboard';

export const copyToClipboard = async (text:string) => {
    await Clipboard.setStringAsync(
        text
    );
   ToastAPI.show('复制成功');
  };